<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8"> 
	<title>丹露-APP补丁管理平台</title>
	<link rel="stylesheet" href="http://cdn.static.runoob.com/libs/bootstrap/3.3.7/css/bootstrap.min.css">
	<script src="http://cdn.static.runoob.com/libs/jquery/2.1.1/jquery.min.js"></script>
	<script src="http://cdn.static.runoob.com/libs/bootstrap/3.3.7/js/bootstrap.min.js"></script>
	<link rel="stylesheet" href="css/manage.css">
	<script src="layer/layer.js"></script>
</head>
<body>
<div class="container" style="width:100%;height:auto">
	<div class="row" style="background:url(title.png);background-size: cover;">
		<div class="col-lg-12">
			<h3 class="text-left" style="color:white">
				丹露-APP补丁管理平台
			</h3>
		</div>
	</div>
	<div class="row">
		<div class="col-lg-12">
			<div style="margin-top:10px">
				<span style="font-family:微软雅黑;font-size:23px">&nbsp;<span class="glyphicon glyphicon-glass"></span>&nbsp;<label id="app"></label></span>
				<hr style="height:1px;border:none;border-top:2px ridge #CD661D;" />
			</div>
		</div>
	</div>
	<div class="row">
		<div class="col-lg-12">
			<div class="panel panel-primary" style="margin-top:5px;border:1px solid #CDAF95">
				<div class="panel-heading" style="background-color:#CDAF95;border:1px solid #CDAF95">
					<h3 class="panel-title">基本信息</h3>
				</div>		
				<table class="table table-striped table-hover table-bordered" style="margin-top:5px">
					<tbody>
						<tr>
							<td width="28%">应用名称：<label id="appName">终端店</label></td>
							<td width="28%">应用包名：<label id="packageName">123456789</label></td>
							<td>应用类型：<label id="appType">android</label></td>
						</tr>
						<tr>
							<td>创建时间：<label id="creatTime">123456789</label></td>
							<td>应用描述：<label id="description">电商APP</label></td>
							<td>AppID：<label id="appid">123456789</label></td>
						</tr>
					</tbody>
				</table>
			</div>
			
			<div class="panel panel-primary" style="margin-top:5px;border:1px solid #CDAF95">
				<div class="panel-heading" style="background-color:#CDAF95;border:1px solid #CDAF95">
					<h3 class="panel-title">应用版本列表</h3>
				</div>
				<div >
					<button class="btn btn-info" style="float:right;margin:5px;background-color:#999999;border:1px solid #CDAF95;outline:none" onclick="back()"><span class="glyphicon glyphicon-backward"></span>返回上一页</button>
					<button class="btn btn-info" style="float:right;margin:5px;background-color:#CD8162;border:1px solid #CDAF95;outline:none" data-toggle="modal" data-target="#myVersionModal"><span class="glyphicon glyphicon-plus"></span>添加版本</button>
				</div>
				
				<table class="table table-striped table-hover" style="margin-top:5px">
					<thead>
						<tr bgcolor="#CDAF95">
							<th style="overflow:hidden;width:25%">版本号</th>
							<th style="overflow:hidden;width:25%">版本code</th>
							<th style="overflow:hidden;width:25%">创建时间</th>
							<th style="overflow:hidden;width:25%">操作</th>
						</tr>
					</thead>
					<tbody id="versionTable">
					</tbody>
				</table>
			</div>
		</div>
	</div>
</div>

<!--模态框-->
<div class="modal fade" id="myVersionModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
	<div class="modal-dialog">
		<div class="modal-content">
			<div class="modal-header">
				<button type="button" class="close" data-dismiss="modal" aria-hidden="true">
					&times;
				</button>
				<h4 class="modal-title" id="myModalLabel">
					新增版本
				</h4>
			</div>
			<div class="modal-body">
				<table style="width:70%;margin-left:70px;height:100px">
					<tr>
						<td><label style="color:red">*</label>版本号:</td>
						<td><input type="text" class="form-control" placeholder="请输入应用版本号" id="versionNum"></td>
					</tr>
					<tr>
						<td><label style="color:red">*</label>版本code:</td>
						<td><input type="text" class="form-control" placeholder="请输入应用版本code" id="versionCode"></td>
					</tr>
				</table>
			</div>
			<div class="modal-footer">
				<button type="button" class="btn btn-default" data-dismiss="modal" style="background-color:#999999;border:1px solid #999999;outline:none">关闭
				</button>
				<button type="button" class="btn btn-primary" style="background-color:#CD8162;border:1px solid #CDAF95;outline:none" onclick="creatAppVersion()">
					创建
				</button>
			</div>
		</div>
	</div>
</div>

<script src="js/manageversion.js"></script>
</body>